let productionManage = [
  /** 生产管理 **/
  // 周转单打印
  {
    path: '/turnoverPrint',
    name: 'turnoverPrint',
    component(resolve) {
      require(['../view/productionManage/productionManage/turnoverPrint/TurnoverPrint'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'turnoverPrint',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '周转单打印'
    }
  },
  // 生产工单管理
  {
    path: '/workSheetManage',
    name: 'workSheetManage',
    component(resolve) {
      require(['../view/productionManage/productionManage/workSheetManage/WorkSheetManage'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workSheetManage',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '生产调度工作台'
    }
  },
  // 车间工作台
  {
    path: '/workshopBench',
    name: 'workshopBench',
    component(resolve) {
      require(['../view/productionManage/productionManage/workshopBench/WorkshopBench'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workshopBench',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '操作者工作台'
    }
  },
  // 临时工艺工作台
  {
    path: '/temporaryWorkbench',
    name: 'temporaryWorkbench',
    component(resolve) {
      require(['../view/productionManage/productionManage/temporaryWorkbench/TemporaryWorkbench'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'temporaryWorkbench',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '临时工艺工作台'
    }
  },
  // 编辑工艺-处理任务
  {
    path: '/reworkWorkStageEdit',
    name: 'reworkWorkStageEdit',
    component(resolve) {
      require(['../view/productionManage/productionManage/temporaryWorkbench/ReworkWorkStageEdit'], resolve)
    },
    meta: {
      keepAlive: false,
      menuItem: 'temporaryWorkbench',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '编辑工艺'
    }
  },
  // 编辑工艺-临时工艺更改
  {
    path: '/tempWorkStageEdit',
    name: 'tempWorkStageEdit',
    component(resolve) {
      require(['../view/productionManage/productionManage/temporaryWorkbench/TempWorkStageEdit'], resolve)
    },
    meta: {
      keepAlive: false,
      menuItem: 'temporaryWorkbench',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '编辑工艺'
    }
  },
  // 在制品查询
  {
    path: '/workInProcess',
    name: 'workInProcess',
    component(resolve) {
      require(['../view/productionManage/productionManage/workInProcess/WorkInProcess'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workInProcess',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '在制品查询'
    }
  },
  // 工位收料
  {
    path: '/materialReceive',
    name: 'materialReceive',
    component(resolve) {
      require(['../view/productionManage/productionManage/materialReceive/MaterialReceive'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'materialReceive',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '工位收料'
    }
  },
  // 问题处理工作台-操作者
  {
    path: '/operatorProblemSolve',
    name: 'operatorProblemSolve',
    component(resolve) {
      require(['../view/productionManage/productionManage/operatorProblemSolve/OperatorProblemSolve'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'operatorProblemSolve',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '问题处理工作台-操作者'
    }
  },
  // 问题处理工作台-处理者
  {
    path: '/solverProblemSolve',
    name: 'solverProblemSolve',
    component(resolve) {
      require(['../view/productionManage/productionManage/solverProblemSolve/SolverProblemSolve'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'solverProblemSolve',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '问题处理工作台-处理者'
    }
  },
  // 要料跟踪
  {
    path: '/materialTrack',
    name: 'materialTrack',
    component(resolve) {
      require(['../view/productionManage/materialDistribution/materialTrack/MaterialTrack'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'materialTrack',
      subMenu: 'materialDistribution',
      rootDir: 'productionManage',
      title: '要料申请跟踪'
    }
  },
  // 物料入库
  {
    path: '/materialStorage',
    name: 'materialStorage',
    component(resolve) {
      require(['../view/productionManage/materialDistribution/materialStorage/MaterialStorage'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'materialStorage',
      subMenu: 'materialDistribution',
      rootDir: 'productionManage',
      title: '物料入库管理'
    }
  },
  // 物料退库
  {
    path: '/materialReturn',
    name: 'materialReturn',
    component(resolve) {
      require(['../view/productionManage/materialDistribution/materialReturn/MaterialReturn'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'materialReturn',
      subMenu: 'materialDistribution',
      rootDir: 'productionManage',
      title: '物料退库管理'
    }
  },
  // 在制品出入库跟踪
  {
    path: '/unfinishedMaterial',
    name: 'unfinishedMaterial',
    component(resolve) {
      require(['../view/productionManage/materialDistribution/unfinishedMaterial/UnfinishedMaterial'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'unfinishedMaterial',
      subMenu: 'materialDistribution',
      rootDir: 'productionManage',
      title: '在制品出入库跟踪'
    }
  },
  // 虚拟出库跟踪
  {
    path: '/virtualDepotTrack',
    name: 'virtualDepotTrack',
    component(resolve) {
      require(['../view/productionManage/materialDistribution/virtualDepotTrack/VirtualDepotTrack'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'virtualDepotTrack',
      subMenu: 'materialDistribution',
      rootDir: 'productionManage',
      title: '虚拟出库跟踪'
    }
  },
  // 看板式车间工作台
  {
    path: '/workshopBenchWidthBoard',
    name: 'workshopBenchWidthBoard',
    component(resolve) {
      require(['../view/productionManage/productionManage/workshopBenchWidthBoard/WorkshopBenchWidthBoard'], resolve)
    },
    meta: {
      keepAlive: true,
      menuItem: 'workshopBenchWidthBoard',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '操作者工作台大字'
    }
  },
  // 看板式车间工作台详情
  {
    path: '/workshopBenchWidthBoardDetail',
    name: 'workshopBenchWidthBoardDetail',
    component(resolve) {
      require(['../view/productionManage/productionManage/workshopBenchWidthBoard/WorkshopBenchWidthBoardDetail'], resolve)
    },
    meta: {
      keepAlive: false,
      menuItem: 'workshopBenchWidthBoard',
      subMenu: 'productionManage',
      rootDir: 'productionManage',
      title: '工序详情'
    }
  },
]

export default productionManage
